import Home from '@/views/ShopHome'
import Classify from '@/views/ShopClassify'
import MyShop from '@/views/MyShop'
import ShopFooter from '@/components/ShopFooter'
import ShopLogin from '@/views/ShopLogin'
import ShopRegister from '@/views/register'
export default [
  {
    path: '/',
    redirect: '/home',
    meta: {
      isNav: false
    }
  },
  {
    path: '/home',
    name: 'Home',
    components: {
      default: Home,
      footer: ShopFooter
    },
    // children: {},
    meta: {
      isNav: true,
      title: '首页',
      icon: '&#xe63a;'
    }
  },
  {
    path: '/classify',
    name: 'Classify',
    components: {
      default: Classify,
      footer: ShopFooter
    },
    // children: {},
    meta: {
      isNav: true,
      title: '分类',
      icon: '&#xe652;'
    }
  },
  {
    path: '/myshop',
    name: 'MyShop',
    components: {
      default: MyShop,
      footer: ShopFooter
    },
    // children: {},
    meta: {
      isNav: true,
      title: '我的',
      icon: '&#xe67a;'
    }
  },
  {
    path: '/shoplogin',
    name: 'ShopLogin',
    components: {
      default: ShopLogin,
      footer: ShopFooter
    },
    // children: {},
    meta: {
      isNav: true,
      title: '登录',
      icon: '&#xe665;'
    }
  },
  {
    path: '/register',
    name: 'Register',
    components: {
      default: ShopRegister
    },
    // children: {},
    meta: {
      isNav: false,
      title: '注册',
      icon: ''
    }
  }
]
